#ifndef _LEVEL_HEADER_
#define _LEVEL_HEADER_

#include "Base.h"

struct UsedMaterial{
	UsedMaterial(Texture* nTex, string name);
	Texture* tex;
	string texName;
};

namespace World{
	extern list<SceneObject*> sceneObjects;
	extern list<UsedMaterial> sceneTextures;
	extern list<Material*> sceneMaterials;
	static std::string levelFile;
	void SetLevel(std::string fName);
	void BuildLevel();
	void UnloadLevel();
	void UnloadMaterials();
}
#endif // _LEVEL_HEADER